package com.youku.expression;

public class Token {

	TokenType tokenType;

	String value;

	public Token(TokenType tokenType, String value) {
		super();
		this.tokenType = tokenType;
		this.value = value;
	}
	
	@Override
	public String toString() {
		return "Token [tokenType=" + tokenType + ", value=" + value + "]";
	}

	public TokenType tokenType() {
		return tokenType;
	}

	public String value() {
		return value;
	}
}
